.class Lcom/xingbook/audio/d/k;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/xingbook/ting/receiver/d;


# instance fields
.field final synthetic a:Lcom/xingbook/audio/d/g;


# direct methods
.method constructor <init>(Lcom/xingbook/audio/d/g;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/audio/d/k;->a:Lcom/xingbook/audio/d/g;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a()V
    .locals 4

    invoke-static {}, Lcom/xingbook/ting/play/j;->a()Lcom/xingbook/ting/play/j;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/audio/d/k;->a:Lcom/xingbook/audio/d/g;

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Lcom/xingbook/ting/play/j;->c()Lcom/xingbook/audio/b/a;

    move-result-object v2

    if-eqz v2, :cond_0

    iget-object v2, p0, Lcom/xingbook/audio/d/k;->a:Lcom/xingbook/audio/d/g;

    invoke-static {v2}, Lcom/xingbook/audio/d/g;->c(Lcom/xingbook/audio/d/g;)Lcom/xingbook/audio/b/b;

    move-result-object v2

    invoke-virtual {v2}, Lcom/xingbook/audio/b/b;->h()Ljava/lang/String;

    move-result-object v2

    if-eqz v2, :cond_0

    iget-object v2, p0, Lcom/xingbook/audio/d/k;->a:Lcom/xingbook/audio/d/g;

    invoke-static {v2}, Lcom/xingbook/audio/d/g;->c(Lcom/xingbook/audio/d/g;)Lcom/xingbook/audio/b/b;

    move-result-object v2

    invoke-virtual {v2}, Lcom/xingbook/audio/b/b;->h()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0}, Lcom/xingbook/ting/play/j;->c()Lcom/xingbook/audio/b/a;

    move-result-object v3

    invoke-virtual {v3}, Lcom/xingbook/audio/b/a;->t()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_0

    iget-object v2, p0, Lcom/xingbook/audio/d/k;->a:Lcom/xingbook/audio/d/g;

    invoke-static {v2}, Lcom/xingbook/audio/d/g;->c(Lcom/xingbook/audio/d/g;)Lcom/xingbook/audio/b/b;

    move-result-object v2

    invoke-virtual {v2}, Lcom/xingbook/audio/b/b;->t()Ljava/lang/String;

    move-result-object v2

    if-eqz v2, :cond_0

    invoke-virtual {v0}, Lcom/xingbook/ting/play/j;->g()Lcom/xingbook/audio/b/b;

    move-result-object v2

    if-eqz v2, :cond_0

    iget-object v2, p0, Lcom/xingbook/audio/d/k;->a:Lcom/xingbook/audio/d/g;

    invoke-static {v2}, Lcom/xingbook/audio/d/g;->c(Lcom/xingbook/audio/d/g;)Lcom/xingbook/audio/b/b;

    move-result-object v2

    invoke-virtual {v2}, Lcom/xingbook/audio/b/b;->t()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0}, Lcom/xingbook/ting/play/j;->g()Lcom/xingbook/audio/b/b;

    move-result-object v3

    invoke-virtual {v3}, Lcom/xingbook/audio/b/b;->t()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_0

    iget-object v2, p0, Lcom/xingbook/audio/d/k;->a:Lcom/xingbook/audio/d/g;

    invoke-static {v2}, Lcom/xingbook/audio/d/g;->c(Lcom/xingbook/audio/d/g;)Lcom/xingbook/audio/b/b;

    move-result-object v2

    invoke-virtual {v2}, Lcom/xingbook/audio/b/b;->af()I

    move-result v2

    invoke-virtual {v0}, Lcom/xingbook/ting/play/j;->g()Lcom/xingbook/audio/b/b;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/audio/b/b;->af()I

    move-result v0

    if-ne v2, v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    invoke-static {v1, v0}, Lcom/xingbook/audio/d/g;->a(Lcom/xingbook/audio/d/g;Z)V

    return-void

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method
